package com.qf.votedemo.contestant.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qf.votedemo.contestant.entity.Contestant;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author lx
 * @since 2023-02-24
 */
public interface IContestantService extends IService<Contestant> {

    void vote(String phoneNum, Integer contestantId) throws Exception;

    void voteRedis(String phoneNum, Integer contestantId, String token) throws Exception;

    void getContestants();
}
